<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1" session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
</head>
<body>
<br>
<a href="/">Home</a><br>
<table width="100%">
<tr>
	<td>Date</td>
	<td>Symbol</td>
	<td>Flag</td>
	<td>Open</td>

	<td>High</td>
	<td>Low</td>
	<td>Last</td>

	<td>Change</td>
	<td>Percent Change</td>
	<td>Offer</td>

	<td>Bid</td>
	<td>Volume Trade</td>
	<td>Value Trade</td>
</tr>	
<c:forEach var="price" items="${priceList}">
<tr>
	<td><fmt:formatDate value="${price.date}" pattern="MM/dd/yyyy"/></td>
	<td><c:out value="${price.symbol}"/></td>
	<td><c:out value="${price.flag}"/></td>

	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.open}" /></td>
	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.high}" /></td>
	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.low}" /></td>
	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.last}" /></td>

	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.change}" /></td>
	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.percentChange}" /></td>

	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.offer}" /></td>
	<td><fmt:formatNumber type="number" maxFractionDigits="2" value="${price.bid}" /></td>

	<td><fmt:formatNumber type="number" maxFractionDigits="0" value="${price.volumeTrade}" /></td>
	<td><fmt:formatNumber type="number" maxFractionDigits="0" value="${price.valueTrade}" /></td>


</tr>
</c:forEach>
</table>
<br>
<a href="/">Home</a><br>
</body>
</html>